//
//  personTableViewCell.m
//  lmq
//
//  Created by 千翼网络科技 on 2017/1/23.
//  Copyright © 2017年 yuanxin. All rights reserved.
//

#import "personTableViewCell.h"

@implementation personTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.backView=[[UIView alloc]initWithFrame:CGRectMake(0,  0, DEF_SCREEN_WIDTH, (45))];
        self.backView.backgroundColor=[UIColor whiteColor];
        [self addSubview:self.backView];
        
        //标题
        self.titLable=[[UILabel alloc]initWithFrame:CGRectMake((10), (13), (180), (16))];
        self.titLable.text=@"订单1";
        [self.backView addSubview:self.titLable];
        
        //线
        self.xianView=[[UIView alloc]initWithFrame:CGRectMake((10), 0, DEF_SCREEN_WIDTH-(10), (1))];
        self.xianView.backgroundColor=[ZJCModel colorWithString:@"cccccc"];
        [self.backView addSubview:self.xianView];
        
        //next
        self.titLable1=[[UILabel alloc]initWithFrame:CGRectMake(DEF_SCREEN_WIDTH-(200), (13), (170), (16))];
        self.titLable1.text=@"名字";
        self.titLable1.textAlignment=NSTextAlignmentRight;
        [self.backView addSubview:self.titLable1];
        
        self.touImageView=[[UIImageView alloc]initWithFrame:CGRectMake(DEF_SCREEN_WIDTH-(25), (15), (14), (14))];
//        self.touImageView.image=[UIImage imageNamed:@"next"];
        [self.backView addSubview:self.touImageView];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
